[IA64] Fix live migration
authorAlex Williamson <alex.williamson@hp.com>
Thu, 7 Feb 2008 16:19:53 +0000 (09:19 -0700)
committerAlex Williamson <alex.williamson@hp.com>
Thu, 7 Feb 2008 16:19:53 +0000 (09:19 -0700)
In live migration, a domain is paused and *entire* memory is copied
after pre-copy phase.
(i.e. live migration is not live)

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/libxc/ia64/xc_ia64_linux_save.c

index 0430a5173a516c837d3b2c317857b055b9250f67..8489d4bfc3003aa9d15be2c3e323458fbc78003b 100644 (file)
@@ -652,6 +652,9 @@ xc_domain_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
                         skip_this_iter++;
                     if (test_bit(N, to_skip) || !test_bit(N, to_send))
                         continue;
+                } else if (live) {
+                    if (!test_bit(N, to_send))
+                        continue;
                 }
 
                 if (debug)